﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    Codebehind="InInvoiceDetail.aspx.cs" Inherits="Ankin.EHBH.Web.Modules.StockManage.InInvoiceDetail"
    Title="医用耗材管理系统" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphcenter" runat="server">

    <script src="../../js/jquery-1.3.2.min.js" type="text/javascript"></script>

    <script src="../../js/jquery.flexselect.js" type="text/javascript"></script>

    <script src="../../js/liquidmetal.js" type="text/javascript"></script>

    <script src="../../js/popup.js" type="text/javascript"></script>

    <script language="javascript" type="text/javascript" src="../../Public/My97DatePicker/WdatePicker.js"></script>

    <script type="text/javascript">
      $(document).ready(function() {

        
        if($.cookie('popupStatus')==1)
        {
            disablePopup();
            centerPopup();
            loadPopup();
        }
      });
    </script>

    <table border="0" width="100%" cellpadding="0" cellspacing="0">
        <tr>
            <td class="right-color">
                入库管理-入库详细</td>
        </tr>
    </table>
    <table border="0" width="100%" cellpadding="0" cellspacing="0" style="margin-top: 14px;">
        <tr>
            <td class="bor bor-bg">
                <%-- <div id="button">--%>
                入库台帐<%--</div>--%>
            </td>
        </tr>
        <tr>
            <td class="bor">
                <table width="100%" border="0" cellpadding="0" cellspacing="0" class="t1">
                    <tr>
                        <td>
                            入库单号</td>
                        <td>
                            <asp:Label ID="lblBill_Id" runat="server" Width="80px"></asp:Label></td>
                        <td>
                            入库日期</td>
                        <td style="width: 200px">
                            <asp:Label ID="lblIn_Date" runat="server" Text="时间"></asp:Label></td>
                        <td>
                            操作员</td>
                        <td>
                            <asp:Label ID="lblOperator" runat="server" ReadOnly="True"></asp:Label></td>
                    </tr>
                    <tr>
                        <td style="height: 22px">
                            入库类型</td>
                        <td style="height: 22px">
                            <asp:Label ID="lblIn_Class" runat="server" Width="80px"></asp:Label></td>
                        <td style="height: 22px">
                            供货商</td>
                        <td style="height: 22px; width: 200px;">
                            <asp:Label ID="lblDept" runat="server" Width="80px"></asp:Label></td>
                        <td style="height: 22px">
                            入库方式</td>
                        <td style="height: 22px">
                            <asp:Label ID="lblIndicator" runat="server" ReadOnly="True"></asp:Label></td>
                    </tr>
                    <tr>
                        <td style="height: 22px">
                            采购员</td>
                        <td style="height: 22px">
                            <asp:Label ID="lblVerifyer" runat="server"></asp:Label></td>
                        <td style="height: 22px">
                            入库经手人</td>
                        <td style="height: 22px; width: 200px;">
                            <asp:Label ID="lblHandler" runat="server"></asp:Label></td>
                        <td style="height: 22px">
                            实际金额</td>
                        <td style="height: 22px">
                            ￥<asp:Label ID="lblRealPric" runat="server" Text="0"></asp:Label></td>
                    </tr>
                    <tr>
                        <td>
                            备注</td>
                        <td colspan="5">
                            <asp:Label ID="lblMemo" runat="server" TextMode="MultiLine" Width="98%"></asp:Label>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <table border="0" cellpadding="0" cellspacing="0" width="100%" style="margin-top: 14px;">
        <tr>
            <td class="bor bor-bg">
                入库单明细</td>
        </tr>
        <tr>
            <td class="bor" style="padding: 13px;">
                <asp:GridView ID="grvDetailList" runat="server" AutoGenerateColumns="False" Width="100%"
                    AllowPaging="True" CellPadding="4" OnRowDataBound="grvDetailList_RowDataBound"
                    OnPageIndexChanging="grvDetailList_PageIndexChanging" PageSize="20" OnRowCreated="grvDetailList_RowCreated">
                    <RowStyle CssClass="gv-first-line" />
                    <PagerStyle CssClass="fy" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="Black" />
                    <HeaderStyle CssClass="gv-head" />
                    <EditRowStyle BackColor="Black" />
                    <AlternatingRowStyle BackColor="White" />
                    <PagerSettings Mode="NumericFirstLast" FirstPageText="首页" LastPageText="末页" />
                    <Columns>
                        <asp:BoundField DataField="BOOK_ID" HeaderText="流水号" />
                        <asp:BoundField DataField="EXP_NAME" HeaderText="消耗品名" />
                        <asp:BoundField DataField="SPECS" HeaderText="规格型号" />
                        <asp:BoundField DataField="UNITS" HeaderText="单位" />
                        <asp:BoundField DataField="PURCHASE_PRIC" HeaderText="采购价" />
                        <asp:BoundField DataField="MARKET_PRIC" HeaderText="市场价" />
                        <asp:BoundField DataField="BOOK_QUAN" HeaderText="入库数量" />
                        <asp:BoundField DataField="ITEM_SUM" HeaderText="合计金额" />
                        <asp:BoundField DataField="INVOICE_ID" HeaderText="发票号" />
                        <asp:BoundField DataField="CUR_QUAN" HeaderText="结存数" />
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
    </table>
    <table border="0" cellpadding="0" cellspacing="0" width="100%" style="margin-top: 14px;">
        <tr>
            <td>
                <asp:Button ID="btnBak" runat="server" Text="返回" CssClass="button" Width="57" Height="25"
                    Style="cursor: pointer;" OnClick="btnBak_Click" />
            </td>
        </tr>
    </table>
    <div id="popupContact" style="height: auto; width: 300px;">
        <a id="popupContactClose">x</a>
        <br />
        <table width="100%">
            <tr>
                <td class="bor bor-bg" colspan="2">
                    发票号修改</td>
            </tr>
            <tr>
                <td align="right">
                    流水号
                </td>
                <td>
                    <asp:Label ID="lblBookId" runat="server" Text="Label"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="right">
                    *发票号
                </td>
                <td>
                    <asp:TextBox ID="txtInvoiceId" OnKeyPress="if(((event.keyCode>=48)&&(event.keyCode <=57) )) {event.returnValue=true;} else{event.returnValue=false;}" runat="server" MaxLength="8"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    *发票日期
                </td>
                <td>
                    <input id="txtInvoice_Date" type="text" onclick="WdatePicker()" runat="server"  style="width: 95px" />
                </td>
            </tr>
        </table>
        <asp:Button ID="btnUpdate" runat="server" Text="添加" CssClass="longbutton" Width="90"
            Height="25" Style="cursor: pointer；" OnClick="btnUpdate_Click" />
        <input name="" id="btnClosePop" type="button" value="关闭按钮" class="longbutton" runat="server"
            style="cursor: pointer; width: 90px; height: 25px;" onserverclick="btnClosePop_ServerClick" />&nbsp;
        <asp:Label ID="lblVaild" runat="server" ForeColor="Red"></asp:Label></div>
    <div id="backgroundPopup">
    </div>
</asp:Content>
